public class StunWeaponEffect : WeaponEffect
{
	public override void Start()
	{
		base.Start();
		DisableControls(GameTopWindow.instance.stunPanel);
		humanoid.mecanimWrapper.DropDown();
	}

	public override void End()
	{
		base.End();
		if (!effectWatcher.stunImmun)
		{
			effectWatcher.stunImmun = true;
			effectWatcher.unsetStunImmunDelayd();
		}
		EnableControls(GameTopWindow.instance.stunPanel);
		humanoid.mecanimWrapper.StandUp();
	}

	public override void OnDestroy()
	{
		base.OnDestroy();
		EnableControls(GameTopWindow.instance.stunPanel);
	}
}
